import { InitType } from "./couponAcitonType";

const initArray = [
    {content: []},
    {content: []},
    {content: []}
]

export const couponReducer = function(state=initArray,action) {
    switch(action.type){
        case InitType:
            return action.data
        default:
            return state
    }
}